Speeding Fermat's factoring method
نویسنده
چکیده
A factoring method is presented which, heuristically, splits composite n in O(n1/4+ ) steps. There are two ideas: an integer approximation to √ (q/p) provides an O(n1/2+ ) algorithm in which n is represented as the difference of two rational squares; observing that if a prime m divides a square, then m2 divides that square, a heuristic speed-up to O(n1/4+ ) steps is achieved. The method is well-suited for use with small computers: the storage required is negligible, and one never needs to work with numbers larger than n itself.
منابع مشابه
Using Lucas Sequences to Factor Large Integers near Group Orders
Factoring large integers into primes is one of the most important and most difficult problems of computational number theory (the twin problem is primality testing [13]). Trial division, Fermat's algorithm [1], [3], [8], Pollard's p-\ method [6], Williams' p + \ method [11], Lenstra's elliptic curve method (ECM) [5], Pomerance's quadratic sieve (QS) [7], [10], and Pollard's number field sieve (...
متن کاملRevisiting Fermat's Factorization for the RSA Modulus
We revisit Fermat’s factorization method for a positive integer n that is a product of two primes p and q. Such an integer is used as the modulus for both encryption and decryption operations of an RSA cryptosystem. The security of RSA relies on the hardness of factoring this modulus. As a consequence of our analysis, two variants of Fermat’s approach emerge. We also present a comparison betwee...
متن کاملQuadratic Residues and Their Application
This project explores quadratic residues, a classical number theory topic, using computational techniques. First I conducted computational experiments to investigate the distribution of quadratic residues modulo primes, looking for patterns or evidence against randomness. The experimental data indicates a non-random distribution of quadratic residues. Certain features of such non-random distrib...
متن کاملA New Factorization Technique Using Quadratic Forms
The paper presents a practical method for factoring an arbitrary N by representing N or \N by one of at most three quadratic forms: XAf = s2 — Dy2, X = 1, — 1, 2, D = — 1, ±2, ±3, ±6. These three forms appropriate to N, together with inequalities for y, are given for all N prime to 6. Presently available sieving facilities make the method quite effective and economical for numbers N having 20 t...
متن کاملUsing Petri Net and Branch and Bound Algorithm for Modeling and Scheduling of a Flexible Manufacturing System
In this paper a flexible manufacturing system is investigated where the production process is accomplished in two main stages: machining and assembling. For Modeling of the system the timed Petri net is used. The minimum time requirement for completing the machining is discussed so that assembling the parts would be performed at the possible least time. Scheduling the manufacturing system is pe...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Math. Comput.
دوره 68 شماره
صفحات -
تاریخ انتشار 1999